package com.cmos.dao;

import com.cmos.entity.RolePrivilege;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface RolePrivilegeDao extends Mapper<RolePrivilege> {
    int insertRolePrivilege(@Param("rolePrivileges") List<RolePrivilege> rolePrivileges);

    int deleteRolePrivilege(@Param("roleId") String roleId, @Param("ids") List<String> ids);
}
